package com.xqboss.apps.mapper.nft;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xqboss.apps.domain.nft.NftNumber;
import com.xqboss.apps.dto.nft.NftNumberDto;
import com.xqboss.apps.vo.nft.WebNftNumberVo;
import com.xqboss.apps.vo.user.UserNFTItemVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * nft随机前缀/编号 Mapper 接口
 * </p>
 *
 * @author HaoLun
 * @since 2022-10-10
 */
public interface NftNumberMapper extends BaseMapper<NftNumber> {

    void insertBatch(@Param("nftNumbers") List<NftNumber> nftNumbers);

    List<WebNftNumberVo> numberList(NftNumberDto dto);

    UserNFTItemVo getNftInfoById(Long nftNumberId);
}
